<!doctype html>
<html>
<head>
	<title>Registrate en Domoware</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" href="<?php echo base_url(); ?>recursos/css/estilo.css">
</head>
<body class="body">
	<div id="logo"></div>
	<div id="contenedor">
		<div id="conenedorCentral">			
			<a href="<?php echo base_url() ?>" ><div class="boton sombra" id="botonRegistro">Iniciar Sesión</div></a>
			<form method="post" action="<?php echo base_url().'index.php/registro/reg' ?>">
				<div id="contenedorFormulario">
					<h2>Registrarse</h2>
					<input name="username" class="input" type="text" placeholder="Usuario" required/>
					<input name="password" class="input" type="password" placeholder="Contraseña" required/>
					<input name="re-password" class="input" type="password" placeholder="Repita la contraseña" required/>
					<input name="email" class="input" type="email" placeholder="Email" required/>
					<input type="submit" class="boton input" value="Entrar"/>
					<div id="error"><?php if(isset($error))echo $error;?></div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>